class Test1_For {
    public static void main(String[] args){
 //需求：请在控制台输出数据1-10             
        for (int i = 1;i <= 10 ;i++){
            System.out.println("i = " + i);
        }
//需求：请在控制台输出数据10-1  
        for (int i = 10;i >= 1; i--){
            System.out.println("i = "+ i);
        }
    }
}